package in.iqing.model.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ZuoShu on 15/7/3.
 */
public class Recommend implements Serializable {
    @JSONField(name = "id")
    private int id;

    @JSONField(name = "url")
    private String url;

    @JSONField(name = "type")
    private int type;

    @JSONField(name = "status")
    private int status;

    @JSONField(name = "cover")
    private String cover;

    @JSONField(name = "updated_date")
    private long updateDate;

    @JSONField(name = "created_date")
    private long createdDate;

    @JSONField(name = "book")
    private List<Book> recommendBooks;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public long getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(long updateDate) {
        this.updateDate = updateDate;
    }

    public long getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(long createdDate) {
        this.createdDate = createdDate;
    }

    public List<Book> getRecommendBooks() {
        return recommendBooks;
    }

    public void setRecommendBooks(List<Book> recommendBooks) {
        this.recommendBooks = recommendBooks;
    }
}
